package org.cfd.utils;

import lombok.Data;

/**
 * @author rjs
 */
@Data
public class Result {
  private Integer code;
  private String msg;
  private Object data;

  public Result() {}

  public Result(Integer code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public Result(Integer code, String msg, Object data) {
    this.code = code;
    this.msg = msg;
    this.data = data;
  }
}
